package com.ehome.poct.core.api.dto.report;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 新增价格方案
 *
 * @author muqiu
 * @date 2022/07/04 09:07
 **/
@Data
@ApiModel("新增价格方案")
@Accessors(chain = true)
public class PriceProfitDTO {
    /**
     * 价格利润方案id
     */
    @ApiModelProperty("价格利润方案id")
    private Long testStripPriceProfitSchemeId;
    @NotNull
    @ApiModelProperty("价格方案名称")
    private String priceProfitSchemeName;
    @ApiModelProperty("是否活动方案 0 否 1是")
    private Integer isActivity;
    @ApiModelProperty("价格方案具体")
    private List<@Valid ProfitDTO> profitList;
}
